<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>最终界面</title>
</head>
<body>
<h1>个人信息</h1>
    <form name="student">
        <table>
            <tr>
                <td>姓名：</td>
                <td><span th:text="${Student.name}"></span></td>
            </tr>
            <tr>
                <td>年级：</td>
                <td><span th:text="${Student.grade}"></span></td>
            </tr>
            <tr>
                <td>学号：</td>
                <td><span th:text="${Student.id}"></span></td>
            </tr>
            <tr>
                <td>专业：</td>
                <td><span th:text="${Student.major}"></span></td>
            </tr>
            <tr>
                <td>学院：</td>
                <td><span th:text="${Student.college}"></span></td>
            </tr>
        </table>
            <h1>选课结果：</h1>
            <div th:each="lesson:${lessons}">
                <tr><span th:text="${lesson.name}"></span></tr>
            </div>
    </form>
</body>
</html>